// 主页js
import request from '@/utils/request'

export function rotationChart(data) {
	return request({
		url: '/propagandaApp/auth/getAll/2',
		headers: {
			isToken: false,
		},
		method: 'get',
	})
}
export function updateVersion(data) {
	return request({
		url: '/versionConfigurationManagement/auth/getAll',
		headers: {
			isToken: false,
		},
		method: 'get',
	})
}

// 获取精灵详情
export function getGill(data) {
	return request({
		url: '/tProp/getMySpirit',
		method: 'post',
	})
}
// 收取或者签到
export function signIn(data) {
	return request({
		url: '/tProp/openSpiritProduce',
		method: 'post',
	})
}

// 转赠
export function sendOther(data) {
	return request({
		url: '/tProp/transferSpirit',
		method: 'post',
	})
}

// 获取天团等级


export function getmyGuildLevel(data) {
	return request({
		url: '/guild/myGuild',
		method: 'get',
	})
}